package com.xiyu.service.convert.material;

import com.xiyu.service.vo.material.stockOut.StockOutSingleGetOutput;
import com.xiyu.service.vo.material.stockOut.StockOutUpdateInput;
import com.xiyu.service.vo.material.stockOut.StockOutCreateInput;
import com.xiyu.service.model.material.stock.MaterialStockOutDetail;
import com.xiyu.service.vo.material.stockOut.StockOutPageQueryOutput;
import com.xiyu.service.model.material.stock.MaterialStockOut;
import java.util.*;

import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;
import org.babyfish.jimmer.Page;

/**
 * 出库管理 Convert
 */
@Mapper
public interface StockOutConvert {
    StockOutConvert INSTANCE = Mappers.getMapper(StockOutConvert.class);


    List<StockOutPageQueryOutput> pageQueryOutputConvert(List<MaterialStockOut> output);

    MaterialStockOut createInputConvert(StockOutCreateInput input);

    MaterialStockOutDetail createInputConvert(StockOutCreateInput.detail input);

    MaterialStockOut updateInputConvert(StockOutUpdateInput input);

    MaterialStockOutDetail updateInputConvert(StockOutUpdateInput.detail input);

    StockOutSingleGetOutput singleGetOutputConvert(MaterialStockOut output);

}
